// @ts-ignore
/* eslint-disable */
import request from '@/request'

/** 邮箱发送 POST /api/email/sendEmail/${param0} */
export async function sendEmailUsingPost(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.sendEmailUsingPOSTParams,
  options?: { [key: string]: any }
) {
  const { email: param0, ...queryParams } = params
  return request<API.Rstring>(`/api/email/sendEmail/${param0}`, {
    method: 'POST',
    params: { ...queryParams },
    ...(options || {}),
  })
}

/** 发送驳回通知到指定邮箱 POST /api/email/sendInformToEmail */
export async function sendInformToEmailUsingPost(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.sendInformToEmailUsingPOSTParams,
  options?: { [key: string]: any }
) {
  return request<API.Rstring>('/api/email/sendInformToEmail', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  })
}
